package com.iflytek.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_answer
 */
@TableName(value ="t_answer")
@Data
public class Answer implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer answerId;

    /**
     * 回答
     */
    private String answer;

    /**
     * 回答用户
     */
    private String answerUser;

    /**
     * 回答时间
     */
    private Date answerDate;

    /**
     * 外键
     */
    private Integer questionId;

    /**
     * 评论数
     */
    private Integer commentsCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}